package pojo;

import java.util.Date;

/**
 * 入库记录表实体类
 */
public class InStorage {
    private Long inStorageId;           //入库记录主键Id
    private String inStorageNum;        //入库记录编号:QT/CG/TH+RK+时间戳+序号
    private Long inStorageTypeId;       //入库类型:1_采购,2_销售退货,3_盘盈,4_其他
    private Long relevanceId;           //关联入库单Id
    private Long providerId;            //关联供应商Id
    private Long inStorageOperator;     //关联制单人
    private Long removeStateId;         //删除状态:1_已删除,2_未删除
    private Date createDate;            //创建时间
    private String remark;              //备注

    public InStorage(Long inStorageId, String inStorageNum, Long inStorageTypeId, Long relevanceId, Long providerId, Long inStorageOperator, Long removeStateId, Date createDate, String remark) {
        this.inStorageId = inStorageId;
        this.inStorageNum = inStorageNum;
        this.inStorageTypeId = inStorageTypeId;
        this.relevanceId = relevanceId;
        this.providerId = providerId;
        this.inStorageOperator = inStorageOperator;
        this.removeStateId = removeStateId;
        this.createDate = createDate;
        this.remark = remark;
    }

    public InStorage() {
    }

    @Override
    public String toString() {
        return "InStorage{" +
                "inStorageId=" + inStorageId +
                ", inStorageNum='" + inStorageNum + '\'' +
                ", inStorageTypeId=" + inStorageTypeId +
                ", relevanceId=" + relevanceId +
                ", providerId=" + providerId +
                ", inStorageOperator=" + inStorageOperator +
                ", removeStateId=" + removeStateId +
                ", createDate=" + createDate +
                ", remark='" + remark + '\'' +
                '}';
    }

    public Long getInStorageId() {
        return inStorageId;
    }

    public void setInStorageId(Long inStorageId) {
        this.inStorageId = inStorageId;
    }

    public String getInStorageNum() {
        return inStorageNum;
    }

    public void setInStorageNum(String inStorageNum) {
        this.inStorageNum = inStorageNum;
    }

    public Long getInStorageTypeId() {
        return inStorageTypeId;
    }

    public void setInStorageTypeId(Long inStorageTypeId) {
        this.inStorageTypeId = inStorageTypeId;
    }

    public Long getRelevanceId() {
        return relevanceId;
    }

    public void setRelevanceId(Long relevanceId) {
        this.relevanceId = relevanceId;
    }

    public Long getProviderId() {
        return providerId;
    }

    public void setProviderId(Long providerId) {
        this.providerId = providerId;
    }

    public Long getInStorageOperator() {
        return inStorageOperator;
    }

    public void setInStorageOperator(Long inStorageOperator) {
        this.inStorageOperator = inStorageOperator;
    }

    public Long getRemoveStateId() {
        return removeStateId;
    }

    public void setRemoveStateId(Long removeStateId) {
        this.removeStateId = removeStateId;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
